package com.cqndt.disaster.device.dao;

import java.util.Map;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
import com.cqndt.disaster.device.vo.TabVideoMonitoringVo;

@Mapper
public interface TabVideoMonitoringMapper {

    Integer countVideoNum(@Param("areaCode") String areaCode, 
    		@Param("level") String level,@Param("areaCodeSplit")String areaCodeSplit);
    
    List<TabVideoMonitoringVo> getListByCondition(TabVideoMonitoringVo vo);
    
    TabVideoMonitoringVo getVideoById(Integer id);
    
    List<Map<String,Object>> getAreaMsgByAreacode(Map<String,Object> map);

    List<Map<String,Object>> getVideoMsgByAreacode(List<Integer> area_code);
    
    List<Map<String,Object>> getLevelByAreacode(String area_code);
    
    List<Map<String,Object>> getAllVideoMsgFromAreacodePre(String area_code);
    
    List<Map<String,Object>> getVideoMonitorMsgByAreacode(TabVideoMonitoringVo vo);
}